package com.qf.login.service;

public interface TokenService {

    /**
     * 创建token
     * @param username
     * @param time
     * @return
     */
    public abstract String createToken(String username,Integer time);


    public abstract boolean checkToken(String token);

}
